﻿using BasicRedis.Models;
using Microsoft.EntityFrameworkCore;

namespace BasicRedis.Contexts
{
    public class ProductDbContext : DbContext
    {
        public ProductDbContext(DbContextOptions<ProductDbContext> dbContextOptions) : base(dbContextOptions) 
        {

        }

        public virtual DbSet<Stocks> Stocks { get; set; }
        public DbSet<Product> Products { set; get; }
    }
}
